package br.com.news.application;

import javax.inject.Inject;
import javax.inject.Named;

import org.apache.log4j.Logger;

import br.com.news.application.interfaces.IMainWindow;
import br.news.application.utils.interfaces.IApplication;

@Named
public class Application implements IApplication{

	private final Logger logger = Logger.getLogger(getClass());

	@Inject
	private IMainWindow mainWindow;

	@Override
	public void start() {
		if (this.logger.isInfoEnabled())
			this.logger.info("Starting client applicarion");

		this.mainWindow.start();
	}

}
